//
//  CommonTools.swift
//  MicroBlog
//
//  Created by Apple on 16/9/22.
//  Copyright © 2016年 Apple. All rights reserved.
//

import UIKit
//切换根视图控制器的通知名称
let SwitchRootVCNotification = "SwitchRootVCNotification"


//随机颜色
func RandomColor() -> UIColor {
    return UIColor(red: CGFloat(arc4random() % 256) / 255, green: CGFloat(arc4random() % 256) / 255, blue: CGFloat(arc4random() % 256) / 255, alpha: 1)
}
//屏幕宽度
let ScreenWidth = UIScreen.main.bounds.size.width
//屏幕的高度
let ScreenHeight = UIScreen.main.bounds.size.height

//点击表情按钮的通知名
let DidSelectedEmoticonNotification = "DidSelectedEmoticonNotification"

//点击删除表情的通知名
let DidSelectedDeleteEmoticonNotification = "DidSelectedDeleteEmoticonNotification"
